﻿using DocumentFormat.OpenXml.Lite.Xml;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Schema;
using System.Xml.Serialization;

namespace DocumentFormat.OpenXml.Lite.SpreadsheetML.Excel.Table
{
    [XmlRoot("totalsRowFormula", Namespace = Constants.ExcelMain)]
    public class TotalsRowFormula : XmlSerializable
    {
        [XmlText]
        public string Value { get; set; }

        [XmlAttribute("array", Form = XmlSchemaForm.Qualified)]
        public bool Array { get; set; }

        public TotalsRowFormula()
        {
            Array = false;
        }
    }
}
